<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Stadium</title>
<link rel="stylesheet" type="text/css" href="css/Style.css" />
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
</head>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
int isAdmin = 0;
String visitorName=null;
Cookie cookie= null;
Cookie[] cookies=request.getCookies();
if(cookies!=null){
	for(int i=0; i<cookies.length; i++){
		cookie=cookies[i];
		if(cookie.getName().compareTo("user")==0)
		visitorName=cookie.getValue();
	}
}
%>
<c:set var="userName" value="<%= visitorName%>"></c:set>

<body>

<header class="cabecera">

<div class="image">

	<img src="Images/Skyline.png" alt="My title image">

	

	<c:if test="${userName!=null}">
	<div class="login"> 
		<img src="Images/icon.png" alt="icono">
		<a href="infVisitor.htm"><c:out value="${userName}"></c:out></a> / <a href="index.htm">LogOut</a>
	</div>
	</c:if>
	<c:if test="${userName==null}">
	<div class="login"> 
 		<img src="Images/icon.png" alt="icono">
 		
 		<a href="login.htm">Login</a> / <a href="visitorRegister.htm">SignIn</a>
	</div>
	</c:if>
</div>

<!-- Menu -->
<nav class="nav"> 
	<ul class="menu">
		<c:if test="${userName!=null}">
		<li><a href="index2.htm"> Home</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="index.htm"> Home</a></li>
		</c:if>
		<li><a href="#"> North Town</a>
			<ul>
				<li><a href="museum.htm"> Museum</a></li>
				<li><a href="theater.htm"> Theater</a></li>
				<li><a href="stadium.htm"> Stadium</a></li>
				<li><a href="business.htm"> Business</a></li>
			</ul>
		</li>
		<li><a href="#"> South Town</a>
			<ul>
				<li><a href="park.htm"> Park</a></li>
				<li><a href="zoo.htm"> Zoo</a></li>
				<li><a href="attractions.htm"> Attractions</a></li>
				<li><a href="markets.htm"> Markets</a></li>
			</ul>
		</li>
		<c:if test="${userName!=null}">
		<li><a href="show_events.htm"> Events</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="login.htm"> Events</a></li>
		</c:if>
	</ul>
 </nav>


</header>

<div class="Container">
	<h2>Stadium</h2>
	<div class="text">
		<img src="Images/stadium.jpg" align="left"hspace="10" width="40%">
		<p>A stadium is a place or venue for 
		(mostly) outdoor sports, concerts, or other events and consists of a 
		field or stage either partly or completely surrounded by a tiered 
		structure designed to allow spectators to stand or sit and view the 
		event</p>
	
		<p>Pausanias noted that for about half a century the only event at 
		the ancient Greek Olympic festival was the race that comprised one 
		length of the stade at Olympia, where the word "stadium" originated </p>
		
		<p>"Stadium" comes from the Greek word "stadion", a measure 
		of length equalling the length of 600 human feet.[4] As feet are of 
		variable length the exact length of a stadion depends on the exact 
		length adopted for 1 foot at a given place and time. Although in 
		modern terms 1 stadion = 600 ft (180 m), in a given historical 
		context it may actually signify a length up to 15% larger or smaller.</p>
		
		<p>The equivalent Roman measure, the stadium, had a similar 
		length, about 185 m (607 ft), but instead of being defined in feet 
		was defined using the Roman standard passus to be a distance of 125 
		passi (double-paces).</p>
	</div>
	

</div>

<footer> Copyright @ 2015 All rights reserved </footer>	


</body>
</html>